﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Iacym.Entities;
using Iacym.Repository;
using Microsoft.Practices.Unity;

namespace Iacym.BusinessLogic
{
    public class DatosTransferenciaBL:IDatosTransferenciaBL
    {
        [Dependency]
        public IDatosTransferenciaRepository datTransferenciaDAO { get; set; }

        public List<DATOS_TRANSFERENCIA> GetAllDatosTransferenciaByCriterio(int idPersona)
        {
            return datTransferenciaDAO.GetAllDatosTransferenciaByCriterio(idPersona);
        }

        public void deleteDatosTransferencia(int idDatTrans, int idCarIgle)
        {
            datTransferenciaDAO.deleteDatosTransferencia(idDatTrans, idCarIgle);
        }
    }
}
